package cn.nexd.location.collector.bean;

/**
 * Created by codngfish on 15/10/19.
 */
public class BluetoothCollectorResult {
    ////////////stander title start////////////
    private long startTime;//采集开始时间
    private long endTime;//采集结束时间
    private long collectorId;//采集器 ID。同一个 ID 对应一组采集到的数据

    private long timestamp;//信号扫描时间
    private int collectorRate;//采集频率

    ///////////stander title end//////////////

    private String address;// 00:11:22:AA:BB:CC
    private String name;//蓝牙名称
    private int rssi;//信号强度

    ///////////


    @Override
    public String toString() {
        return "BluetoothCollectorResult{" +
                "startTime=" + startTime +
                ", endTime=" + endTime +
                ", collectorId=" + collectorId +
                ", timestamp=" + timestamp +
                ", collectorRate=" + collectorRate +
                ", address='" + address + '\'' +
                ", name='" + name + '\'' +
                ", rssi=" + rssi +
                '}';
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public long getCollectorId() {
        return collectorId;
    }

    public void setCollectorId(long collectorId) {
        this.collectorId = collectorId;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public int getCollectorRate() {
        return collectorRate;
    }

    public void setCollectorRate(int collectorRate) {
        this.collectorRate = collectorRate;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getRssi() {
        return rssi;
    }

    public void setRssi(int rssi) {
        this.rssi = rssi;
    }
}
